package com.lx.gulimall.ware.feign;

import com.lx.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author lixun Email:lx3027@126.com
 * @create 2021-08-16 19:30
 */
@FeignClient("gulimall-order")
public interface OrderFeignService {
    @GetMapping("/order/orderor/status/{orderSn}")
    R getOrderStatus(@PathVariable("orderSn") String orderSn);
}
